<template>
  <div class="userproject">
    <div class="head">
      <i class="iconfont head-icon" @click="comeBack">&#xe689;</i>
      我的一对一捐助
    </div>

    <scroller lock-x height="700px" :use-pullup='use_pullup' :pullup-config="pullup_con" @on-pullup-loading="onScrollBottom" ref="scroller" :scroll-bottom-offst="200">
      <div class="userproject-list">
        <ul>
          <li @click="goDonateListDetails(lists.studentId)" v-for="lists in list">
            <!--<img v-if="lists.photo != ''" :src="imageUrl.imageUrl + lists.photo"/>-->
            <img v-if="lists.sex == '男'" src="../../images/man.png"/>
            <img v-else="" src="../../images/woman.png"/>
            <div class="list-right">
              <p>{{lists.name}} 学号：{{lists.studentNo}} 毕业院校：{{lists.school}}</p>
              <p>{{lists.age}}岁 {{lists.sex}} {{lists.city}}{{lists.country}}</p>
              <p>资助金额：<span style="color: #1AAC19;">{{lists.amount}}</span>元</p>
            </div>
          </li>
        </ul>
        <load-more :tip="tipText" :show-loading="show_loading"></load-more>
      </div>
    </scroller>
  </div>
</template>

<script src="./userproject.js"></script>
